package com.buding.fx.dao;

import com.buding.fx.entity.Property;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author mingdongwei-jwk
 * @date 2022/10/09 9:38
 * @class com.buding.fx.dao
 * @Description
 */
public interface PropertyDao {
    int insert(Property property);
    Property selectByKey(String key);
    int update(Property property);
    int updateByKey(Property property);
    int  delete(@Param("key") String key);
    List<Property> selectAll();
}
